<?php
ini_set('session.use_trans_sid', 1);
session_start();
echo $_SESSION['counter']++;
?>